package utils;

import java.io.*;
import java.util.LinkedList;
import java.util.List;

public class FileUtils {
    public static byte[] readFile(String path) throws IOException {
        BufferedInputStream bis = new BufferedInputStream(new FileInputStream(path));
        byte[] b = new byte[bis.available()];
        bis.read(b);
        return  b;
    }
}
